namespace SimpleWebServices.Web.UI.Html
{
    using System;
    using Xunit;

    public sealed class IAttributeAccesskeyFacts
    {
        [Fact]
        public void typedef()
        {
            Assert.True(typeof(IAttributeAccesskey).IsInterface);
        }

        [Fact]
        public void IAttributeAccesskey_Accesskey_get()
        {
            try
            {
                char? value = (new IAttributeAccesskeyDummy() as IAttributeAccesskey).Accesskey;
                Assert.True(false);
            }
            catch (NotSupportedException)
            {
            }
        }

        [Fact]
        public void IAttributeAccesskey_Accesskey_set()
        {
            try
            {
                (new IAttributeAccesskeyDummy() as IAttributeAccesskey).Accesskey = 'a';
                Assert.True(false);
            }
            catch (NotSupportedException)
            {
            }
        }
    }
}